/*
 * @Author: your name
 * @Date: 2021-11-28 20:16:59
 * @LastEditTime: 2021-11-28 20:16:59
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AEe
 * @FilePath: /carbon/src/utils/initDate.js
 */
export default function initDate() {
    const date = new Date()
    const year = date.getFullYear()
    const month = (date.getMonth() + 1).toString().padStart(2, 0)
    const day = date.getDate().toString().padStart(2, 0)
    return `${year}-${month}-${day}`
}